package com.inspire.springboot.mapper;

import com.inspire.springboot.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author ：inspire
 * @date ：Created in 2022/9/29 17:00
 * @description：
 * @modified By：inspire
 * @version:
 */
@Mapper
public interface UserXmlMapper {

    List<User> findAll();

    User findByID(int id);

    int insertUser(User user);

    int deleteUserByName(String username);

    int updatePasswordByUsername(User user);

    List<User> findByName(String name);

    List<User> findByIds(List<Integer> ids);
}
